package il.technion.cs236369.dal;

import java.util.Properties;

import il.technion.cs236369.exceptions.InvalidPropertiesFile;
import il.technion.cs236369.interfaces.ICacheManager;
import il.technion.cs236369.interfaces.ICacheManagerFactory;
import il.technion.cs236369.interfaces.IHttpCommunicator;

/**
 * A factory implementation
 * @author Gal Lalouche 036933489 sgallal@t2
 *
 */
public class CacheMangerFactoryImpl implements ICacheManagerFactory {
	@Override
	public ICacheManager create(IHttpCommunicator getter, Properties propertiesFile) throws InvalidPropertiesFile {
		return new CacheManager(getter, propertiesFile);
	}

}
